package com.iwinding.ladygg.net.callback;

import com.iwinding.ladygg.net.response.BaseRopnse;
import com.iwinding.ladygg.net.response.MyCardRp;
import com.iwinding.ladygg.utils.GsonUtil;
import com.iwinding.ladygg.utils.LogUtil;

/**
 * Created by hezhiyong on 2017/3/24.
 */

public abstract class MyCardCallback extends BaseRpCallback<MyCardRp> {

    @Override
    public MyCardRp parseResponse(BaseRopnse response, int id) {
        LogUtil.i("@hzy", "icane----MyCard:" );
        MyCardRp rp = GsonUtil.getInstance().formJson(response.data, MyCardRp.class);
        return rp;
    }
}
